<script type='text/javascript'>

$(document).ready(function()
{   
    $("#firstpane p.menu_head").click(function()
    {
        $(this).css({backgroundImage:"url(/img/flecha-arriba.png)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
        $(this).siblings().filter('p.menu_head').css({backgroundImage:"url(/img/flecha-abajo.png)"});
    });
});


</script>


<div class="menu_lateral">


        <ul>
        <li class="menuli"> 
            <h3>
                <span style="font-size:1.2em;">Aplicaciones Externas</span>
            </h3>
        </li>
        <div id="firstpane" class="menu_list">
        <p class="menu_head">M2 UPS</p>
        <div class="menu_body">
         <?foreach($this->enlaces[4][1] as $v): ?>
            <li><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></li>
         <?endforeach;?>
        </div>
        
        <p class="menu_head">M1 UPS</p>
        <div class="menu_body">
         <?foreach($this->enlaces[3][1] as $v): ?>
            <li><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></li>
         <?endforeach;?>
        </div> 
        
        <p class="menu_head">B1 UPS</p>
        <div class="menu_body">
         <?foreach($this->enlaces[1][1] as $v): ?>
            <li><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></li>
         <?endforeach;?>
        </div>
        
        <p class="menu_head">M2 Rectificadores</p>
        <div class="menu_body">
         <?foreach($this->enlaces[4][2] as $v): ?>
            <li><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></li>
         <?endforeach;?>
        </div>  
        <?foreach($this->enlaces[0][9] as $v): ?>
            <p class="menu_head_sin_click"><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></p>
        <?endforeach;?>
        <?foreach($this->enlaces[4][10] as $v): ?>
            <p class="menu_head_sin_click"><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></p>
        <?endforeach;?>
        <?foreach($this->enlaces[3][10] as $v): ?>
            <p class="menu_head_sin_click"><a target="_blank" href="<?=$v['url']?>"><?=$v['nombre']?></a></p>
        <?endforeach;?>
    </div>
    </ul>    
            

   
</div>




<div class="bg_derecha_viriathus"></div>
